﻿ 
 
using System.ServiceModel;

namespace eShop.Application
{
   
    [ServiceContract]
    public interface ICustomerService
    {
		[OperationContract]
        void InitCustomerService();
        
        [OperationContract]
        CustomerServiceLoadByIdResponse LoadByIdCustomerService(CustomerServiceLoadByIdRequest request);
        
        [OperationContract]
        void SaveCustomerService();       
    }
   
    [ServiceContract]
    public interface ICustomerLoVService
    {
		[OperationContract]
        void InitCustomerLoVService();
        
        [OperationContract]
        CustomerLoVServiceLoadByIdResponse LoadByIdCustomerLoVService(CustomerLoVServiceLoadByIdRequest request);
        
        [OperationContract]
        void SaveCustomerLoVService();       
    }
   
    [ServiceContract]
    public interface IOrderService
    {
		[OperationContract]
        void InitOrderService();
        
        [OperationContract]
        OrderServiceLoadByIdResponse LoadByIdOrderService(OrderServiceLoadByIdRequest request);
        
        [OperationContract]
        void SaveOrderService();       
    }
   
    [ServiceContract]
    public interface IProductService
    {
		[OperationContract]
        void InitProductService();
        
        [OperationContract]
        ProductServiceLoadByIdResponse LoadByIdProductService(ProductServiceLoadByIdRequest request);
        
        [OperationContract]
        void SaveProductService();       
    }
   
    [ServiceContract]
    public interface ISalesActionService
    {
		[OperationContract]
        void InitSalesActionService();
        
        [OperationContract]
        SalesActionServiceLoadByIdResponse LoadByIdSalesActionService(SalesActionServiceLoadByIdRequest request);
        
        [OperationContract]
        void SaveSalesActionService();       
    }
} 
